package edu.wayne.cs.csc4110.hw6.framework.plugin;

public class PluginUID {

	private static PluginUID pluginUID = null;
	private static int id = 0;

	private PluginUID() {
	}

	private static PluginUID getInstance() {
		if (pluginUID == null) {
			pluginUID = new PluginUID();
		}
		return pluginUID;

	}

	public static int getUID() {
		return getInstance().getId();
	}

	private int getId() {
		return id++;
	}

}
